package _02_if;

public class If_elseIF_else {
    public static void main(String[] args){
        //判断两个数的关系（多选一）
        int num1 = 10;
        int num2 = 20;

        //判断大于.
        if(num1 > num2){
            System.out.println(num1+"大于"+num2);
        }
        // 判断等于
        else if (num1 == num2){
            System.out.println(num1+"等于"+num2);
        }
        //判断小于
        else if (num1 < num2){
            System.out.println(num1+"小于"+num2);
        }
    }
}

